import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -04 -17
 * Time: 23:29
 */
public class Test {
    public static void main(String[] args) {
        Person p=new Person("zhangsan","长沙","112233","112233@163.com");
        Student s=new Student("lisi","长沙","1122334","1122334@163.com","大一");
        Employee e=new Employee("zhaosi","上海","12321","12321@163.com","2栋3层","8000",new Date(2010,9,5));
        Faculty f=new Faculty("wangwu","北京","12345","12345@163.com","1栋二层","6000", new Date(2011,12,9),"965","2l");
        Staff st=new Staff("kunkun","深圳","123321","123321@163.com","5栋1层","9000",new Date(2015,6,7),"经理");
        System.out.println(p);
        System.out.println(s);
        System.out.println(e);
        System.out.println(f);
        System.out.println(st);
    }
}
